<?php
class Zgm_Controller_Base extends Zend_Controller_Action {
   
    protected $_errors;

    public function  preDispatch() {
        parent::preDispatch();
        $this->view->placeholder('logged')->set(Model_Users::isLogged());
        $request = Zend_Controller_Front::getInstance()->getRequest(); 
        $this->view->headTitle('zgm')
                   ->headTitle($request->getControllerName())
                   ->headTitle()->setSeparator(' | ');

    }
    
//    protected function _addErrorMsg($errorLabel,$errorText){
//       if(isset($messageText)){
//          $this->_error->__set($errorLabel, $errorText);
//       }
//       
//    }

}